import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "store";
import api from './api/index'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './icons'
import './style/index.less' // 全局自定义的css样式
import echarts from "echarts";
// 全局组件的引用
import comConfig from '@/components/comConfig.js'

import 'echarts/theme/macarons.js'

Vue.use(comConfig)
Vue.config.productionTip = false;
Vue.prototype.api = api
Vue.prototype.$echarts = echarts;
Vue.use(ElementUI);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");